<div data-ng-init="initAttSearch('stzy',
    {url:'/stall/MapServer/0',
    infoTemplateTitle:'林地资源详情', 
    infoTemplateContent:'stzy_temp',
    fieldUseZh:false,
    infoWindowWidth:340,
    infoWindowHeiht:240,
    pageSize:7});">
    <div id="stzy_temp" style="display:none">
        <b>区: </b>~{QU}<br/>
        <b>山体编号: </b>~{BIAN_HAO}<br/>
        <b>山体名称: </b>~{MING_CHENG}<br/>
        <b>植被覆盖类型: </b>~{ZBFGLX}<br/>
        <b>山体保护类别: </b>~{BHLB}<br/>
        <b>保护级别: </b>~{BHJB}<br/>
        <b>山体利用现状: </b>~{LYXZ}<br/>
        <b>利用方向: </b>~{LYFX}<br/>
        <b>保护面积: </b>~{BHMJ}<br/>
        <b>山体区位类型: </b>~{STQWLX}<br/>
        <b>管控措施: </b>~{GKCS}<br/>
        <b>备注: </b>~{BEI_ZHU}<br/>
    </div>

    <div class="search" ng-show="searchOpen">
        <h4 class="title">林地资源查询</h4>
        <div class="zs-form-tab">
            <table width="100%">
                <tbody>
                    <tr>
                        <td class="right" width="28%">市</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;"
                                fn='rshi' 
                                para="{ uDictionary:true,
                                        dictionary:'p_administrative',
                                        nfn:'rxian',
                                        pidField:'pid'}"
                                ng-model="userinfo.editRow.shi"
                                text-Value="userinfo.editRow.shiName" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">县</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px"
                                fn='rxian' 
                                para="{ uDictionary:true,
                                        dictionary:'p_administrative',
                                        pfn:'rshi',
                                        pidField:'pid'}"
                                ng-model="userinfo.editRow.xian"
                                text-Value="userinfo.editRow.xianName" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">乡</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px"
                                fn='rxian' 
                                para="{ uDictionary:true,
                                        dictionary:'p_administrative',
                                        pfn:'rshi',
                                        pidField:'pid'}"
                                ng-model="userinfo.editRow.xian"
                                text-Value="userinfo.editRow.xianName" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">村</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px"
                                fn='rxian' 
                                para="{ uDictionary:true,
                                        dictionary:'p_administrative',
                                        pfn:'rshi',
                                        pidField:'pid'}"
                                ng-model="userinfo.editRow.xian"
                                text-Value="userinfo.editRow.xianName" />
                        </td>
                    </tr>

                    <tr>
                        <td class="right" width="28%">林班</td>
                        <td>
                            <input class="zs-input" type="text" 
                                ng-model='gisObject.stzy.attribute["BIAN_HAO:in"]'>
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">小班</td>
                        <td>
                            <input class="zs-input" type="text" 
                                ng-model='gisObject.stzy.attribute["MING_CHENG:like"]'>
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%"></td>
                        <td style="text-align:left;">
                            <label><input type="checkbox" ng-model="gisObject.stzy.extent" ng-true-value="true" ng-false-value="false">视图范围内查询</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="center" colspan="2">
                            <input type="button" name="ok" value="查询" class="zs-btn" 
                                ng-click="attSearch('stzy') && setSearchOpen(false);">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="result ng-hide" ng-show="!searchOpen">
        <a class="back" ng-click="clearSearchResult('stzy');setSearchOpen(true);">返回</a>
        <ul class="list">
            <li class="item" ng-repeat="result in gisObject.stzy.pageList"
                ng-mousemove="highFeatureSelectGraphic(result.attributes._guid);" 
                ng-mouseleave="featureSelectGraphic(result.attributes._guid);">
                <p><a ng-click="showInfoWindow(result.attributes._guid);">
                    {{result.attributes['MING_CHENG']}}（{{result.attributes['BIAN_HAO']}}）
                </a></p>
                <p>
                    保护类别:{{result.attributes['BHLB']}}
                    保护级别:{{result.attributes['BHJB']}}
                </p>
                <p>
                    利用现状:{{result.attributes['LYXZ']}} 利用方向:{{result.attributes['LYFX']}} 
                    <a ng-click="setGraphicExtent(result.attributes._guid)">【定位】</a>
                </p>
            </li>
        </ul>
        <ag-Gis-Page fn='stzy'></ag-Gis-Page>
    </div>
</div>